import React, { Component } from 'react';
import { renderRoutes } from 'react-router-config';
import { Link } from 'react-router-dom'

export default class video extends Component {
    render() {
        const { routes } = this.props.route
        return (
            <>
                <ul className='controlBoxTop'>
                    <li><Link to='/video/vue'>vueVideo</Link></li>
                    <li><Link to='/video/react'>reactVideo</Link></li>
                </ul>
                {renderRoutes(routes)}
            </>
        )
    }
}
